package com.hai.loggerdemo.service.impl;

import com.hai.loggerdemo.service.World;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

@Service
public class WorldImpl implements World {
    private static final Logger logger = LoggerFactory.getLogger("testlog");
    @Override
    public void print() {
        logger.info("info test log iiiiiiiiiii");
        logger.error("error test log ");
    }
}
